﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="VS.Web.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta name="TITLE" content="Visual singularity - WPF and Silverlight RIA Development" />
    <meta name="DESCRIPTION" content="" />
    <meta name="CATEGORY" content="Développement RIA" />
    <meta name="AUTHOR" content="Lawrence Zémour" />
    <meta name="REPLY-TO" content="lawrence.zemour@gmail.com" />
    <meta name="REVISIT-AFTER" content="1 DAYS" />
    <meta name="LANGUAGE" content="FR" />
    <meta name="COPYRIGHT" content="Copyright 2010 Lawrence Zémour" />
    <title>Visual singularity - WPF &amp; Silverlight RIA Development.</title>
    <style type="text/css">
        html, body
        {
            height: 100%;
            overflow: auto;
        }
        body
        {
            padding: 0;
            margin: 0;
        }
        #silverlightControlHost
        {
            height: 100%;
            text-align: center;
        }
    </style>
    <script src="Silverlight.js" type="text/javascript"></script>
    <script type="text/javascript" src='<%= this.ResolveUrl("~/Silverlight.js") %>'></script>
    <script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null && sender != 0) {
                appSource = sender.getHost().Source;
            }

            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;

            if (errorType == "ImageError" || errorType == "MediaError") {
                return;
            }

            var errMsg = "Unhandled Error in Silverlight Application " + appSource + "\n";

            errMsg += "Code: " + iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";

            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " + args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }

            throw new Error(errMsg);
        }
    </script>
    <meta name="google-site-verification" content="zcobhEg0O-rQ7GM6BSMBbhVn2o2qT99K03NFOt0nWkU" />
    <meta name="msvalidate.01" content="169C0D50621FEBE2CD42D08F0139ED10" />
    <script type="text/javascript">

        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-22792198-1']);
        _gaq.push(['_setDomainName', '.visualsingularity.net']);
        _gaq.push(['_trackPageview']);

        (function () {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();

    </script>
</head>
<body>
    <form id="form1" runat="server" style="height: 100%">
    <div id="silverlightControlHost">
        <object name="slobj" data="data:application/x-silverlight-2," type="application/x-silverlight-2"
            width="100%" height="100%">
            <param name="source" value="<%= this.ResolveUrl("~/ClientBin/VS.App.xap") %>" />
            <param name="onError" value="onSilverlightError" />
            <param name="background" value="white" />
            <param name="minRuntimeVersion" value="4.0.50826.0" />
            <param name="autoUpgrade" value="true" />
            <div>
                <h1>
                    Visual singularity - WP7, WPF &amp; Silverlight RIA Development.
                </h1>
                <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50826.0" style="text-decoration: none">
                    <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Obtenir Microsoft Silverlight"
                        style="border-style: none" />
                </a>
                <div style="text-align: left">
                    <span style="font-weight: Bold; font-size: 13pt; color: #0000FF">VisualSingularity</span>
                    <span style="font-size: 11pt">est spécialiste des technologies Microsoft dans le développement
                        d'applications riches pour le bureau</span> <span style="font-size: 11pt; font-style: italic">
                            (RDA)</span>, <span style="font-size: 11pt">internet</span> <span style="font-size: 11pt;
                                font-style: italic">(RIA)</span>, <span style="font-size: 11pt">desktop</span>
                    <span style="font-size: 11pt; font-style: italic">(WPF)</span> <span style="font-size: 11pt">
                        ou bien encore Windows Phone.</span>
                </div>                
                <div style="text-align: left">
                    <span style="font-size: 11pt">La </span><span style="color: #0000FF; font-size: 13pt;
                        font-weight: bold">signature</span> <span style="font-size: 11pt">de notre expertise
                            se trouve dans la manière de traiter chaque projet, qui mérite une réponse à la
                            fois</span> <span style="color: #0000FF; font-size: 13pt; font-weight: bold">singulière</span><span
                                style="font-size: 11pt">,</span> <span style="color: #0000FF; font-size: 13pt; font-weight: bold">
                                    créative</span> <span style="font-size: 11pt">et</span> <span style="color: #0000FF;
                                        font-size: 13pt; font-weight: bold">adaptée</span> <span style="font-size: 11pt">au
                                            métier.</span>
                </div>                
                <p style="text-align: left">
                Vous pouvez consulter le contenu de ce site en html en suivant les liens ci-dessous. Nous vous recommandons néanmoins 
                d'installer le moteur Silverlight.
                </p>
                <div id="navigation" style="text-align: left">
                    <asp:Repeater runat="server" ID="menu" DataSourceID="SiteMapDataSource">
                        <ItemTemplate>
                            <a href="ShowAlternate.ashx?article=<%# Eval("Url").ToString().Replace("/", string.Empty) %>">
                                <%# Eval("Title") %></a>
                            <br />
                        </ItemTemplate>
                    </asp:Repeater>
                    <asp:SiteMapDataSource ID="SiteMapDataSource" runat="server" ShowStartingNode="false" />
                </div>
            </div>
        </object>
        <iframe id="_sl_historyFrame" style="visibility: hidden; height: 0px; width: 0px;
            border: 0px"></iframe>
    </div>
    </form>
</body>
</html>